module.exports = {
  base: '/cc-spring-doc/',
  title: 'cc-spring',
  port: 3000,
  locales: {
    '/': {
      lang: 'zh-CN'
    }
  },
  themeConfig: {
    lastUpdated: "上次更新",
    repo: 'https://gitee.com/cc4414/cc-spring',
    repoLabel: 'Gitee',
    docsRepo: 'https://gitee.com/cc4414/cc-spring-doc',
    editLinks: true,
    editLinkText: '帮助我们改善此页面！',
    nav: [
      { text: '指南', link: '/guide/' }
    ],
    sidebar: {
      '/guide/': [
        {
          title: '快速入门',
          collapsable: false,
          children: [
            '', 'install', 'quick-start'
          ]
        },
        {
          title: '核心模块',
          collapsable: false,
          children: [
            'cc-spring-boot-starter',
            'cc-spring-web',
            'cc-spring-resource',
            'cc-spring-mybatis',
            'cc-spring-sys',
            'cc-spring-auth',
            'cc-spring-cloud-starter-gateway',
            'pre-knowledge'
          ]
        },
        {
          title: '进阶使用',
          collapsable: false,
          children: [
            'cc-spring-boot-starter-advanced'
          ]
        },
        {
          title: '其他',
          collapsable: false,
          children: [
            'faq'
          ]
        }
      ]
    }
  }
}